package com.ufun.financegateway.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author BlendLiu
 * @date 2021/4/21 14:59
 */
@Data
public class CmbBankNetPayRequestDto {

    @ApiModelProperty(value = "固定为`1.0`")
    @NotBlank(message = "版本不能为空")
    private String version;

    @ApiModelProperty(value = "签名")
    @NotBlank(message = "签名不能为空")
    private String sign;

    @ApiModelProperty(value = "签名方式")
    @NotBlank(message = "签名方式不能为空")
    private String signType;

    @ApiModelProperty(value = "请求时间")
    @NotNull(message = "请求时间不能为空")
    private CmbBankNetPayDataDto cmbBankNetPayDataDto;
}
